package com.ruoyi.storage.service;

import com.ruoyi.storage.domain.RepoCk;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.storage.domain.RepoWare;

import java.util.HashMap;
import java.util.List;

/**
* @author 标哥
* @description 针对表【repo_ck】的数据库操作Service
* @createDate 2022-01-05 19:33:27
*/
public interface RepoCkService extends IService<RepoCk> {

    List<RepoCk> selectAllCkList(RepoCk repoCk);

    boolean update(Integer id, Integer status);

    List<String> getAllMarketIndents();

    List<RepoWare> getAllWare();


    int updateCkStatus(RepoCk repoCk);

    List<RepoCk> getAll(RepoCk repoRk1);

    Integer getWareIdByCkId(RepoCk repoCk);

    HashMap<String, Object> getProductIdAndNumByCkId(RepoCk repoCk);

    boolean updateKcReduce(Integer wareId, Integer productId, Integer num);

    boolean updateKcAdd(Integer wareId, Integer productId, Integer num);
}
